﻿<%@ Page Language="c#" CodeBehind="AllAPList.aspx.cs" AutoEventWireup="false" Inherits="BEGDC.CC.Web.View.AllAPList" %>

<%@ Register TagPrefix="uc1" TagName="PageNavigation" Src="../UserControls/PageNavigation.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>Alcatel-Lucent Customer Care</title>
    <link href="../css/global.css" rel="stylesheet" type="text/css" />
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
    <link href="../css/content/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/calendar.css" type="text/css" rel="stylesheet" />
    <link href="../css/content/entity.css" rel="stylesheet" type="text/css" />

    <script src="../js/jquery-1.4.4.min.js" type="text/javascript"></script>

    <script src="../js/jquery-ui.min.js" type="text/javascript"></script>

    <script src="../js/jquery.query-2.1.7.js" type="text/javascript"></script>

    <script type="text/javascript" src="../js/common.js"></script>

    <script type="text/javascript" src="../js/entity.js.aspx"></script>

    <script src="../js/workflow.js.aspx" type="text/javascript"></script>

    <script type="text/javascript">

        $(function() {
            $(".datepicker").datepicker({
                showOn: "button",
                buttonImage: "../images/calendar.gif",
                buttonImageOnly: true
            }).attr("readonly", "true");
        });
    </script>

    <script type="text/javascript">

        function document.onkeydown() {
            var e = event.srcElement;
            if (event.keyCode == 13) {
                document.all.btnSearch.click();
                return false;
            }
        }
       
		
    </script>

</head>
<body>
    <div id="popupcalendar">
    </div>
    <form id="Form1" method="post" runat="server">
    <div class="mainbox">
        <div class="sitemapbox">
            <div id="info" class="sitemap">
                &nbsp;&raquo;&nbsp;EV&nbsp;&raquo;&nbsp;Action Point Tracing
            </div>
        </div>
        <table id="Table4" cellspacing="0" cellpadding="0">
            <tr>
                <td>
                    <!--tab区域-->
                    <div class="tabbox purplebg_dark">
                        <ul class="tabpos">
                            <li><span class="tab_active">
                                <%=Resources.PageTitles.ActionPointTracing%></span></li>
                        </ul>
                    </div>
                    <div class="formbox5">
                        <span class=" float_lft">AP Finished Rate(AP完成率): &nbsp;
                            <asp:Label ID="lblFinishedRate" runat="server"></asp:Label>
                        </span>
                    </div>
                    <div class="formbox">
                        <span class=" float_lft">Start Time(起始时间) </span><span class=" float_lft padding_lft20">
                            <asp:TextBox ID="txtStartDate" runat="server" MaxLength="50" Width="100" CssClass="txtbox datepicker date-cmp date-min"></asp:TextBox>
                        </span><span class=" float_lft padding_lft20">End Time(结束时间) </span><span class=" float_lft padding_lft20">
                            <asp:TextBox ID="txtEndDate" runat="server" MaxLength="50" Width="100" CssClass="txtbox datepicker date-cmp date-max"></asp:TextBox>
                        </span><span class=" float_lft padding_lft20">
                            <asp:ResourceButton ID="btnSearch" runat="server" Text="Search" ToolTip="SearchTips"
                                CssClass="btn" />
                        </span><span class=" float_lft padding_lft20">
                            <asp:ResourceButton ID="btnExport" runat="server" Text="Export" ToolTip="ExportTips"
                                CssClass="btn" />
                        </span>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div id="divGrid">
                        <asp:DataGrid ID="dgTaskList" PagerStyle-Visible="False" AllowSorting="True" AllowPaging="True"
                            PageSize="10" runat="server" CellPadding="0" GridLines="both" AutoGenerateColumns="False"
                            ShowHeader="True" CssClass="tablestyle" Width="98%">
                            <ItemStyle CssClass="tbody"></ItemStyle>
                            <HeaderStyle CssClass="thead"></HeaderStyle>
                            <Columns>
                                <asp:BoundColumn DataField="APID" ReadOnly="True" Visible="False" SortExpression="APID">
                                    <ItemStyle Wrap="False"></ItemStyle>
                                </asp:BoundColumn>
                                <asp:TemplateColumn HeaderText="APNo<br/>纪要单号" SortExpression="APNo">
                                    <ItemStyle Wrap="False"></ItemStyle>
                                    <ItemTemplate>
                                        <a href="#" onclick="window.open('../UserControls/EV/ActionPoint.aspx?APID=<%# DataBinder.Eval(Container.DataItem,"APID")%>&MeetingID=<%# DataBinder.Eval(Container.DataItem, "MeetingID")%>&Status=Readonly','','width=1106px,height=760px,scrollbars=yes,resizable=yes')">
                                            <%# DataBinder.Eval(Container.DataItem,"APNo") %></a>
                                    </ItemTemplate>
                                </asp:TemplateColumn>
                                <asp:BoundColumn DataField="AppNo" ReadOnly="True" HeaderText="Application No<br/>申请单号"
                                    SortExpression="APNo">
                                    <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="Priority" ReadOnly="True" HeaderText="Priority<br/>优先级"
                                    SortExpression="Priority">
                                    <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="Status" ReadOnly="True" HeaderText="Status<br/>状态" SortExpression="Status">
                                    <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="APStep" ReadOnly="True" HeaderText="Current Step<br/>当前步骤"
                                    SortExpression="APStep">
                                    <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="DueTime" ReadOnly="True" HeaderText="Due Date<br/>到期时间"
                                    DataFormatString="{0:yyyy/MM/dd}" SortExpression="DueTime">
                                    <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                                </asp:BoundColumn>
                                <asp:TemplateColumn HeaderText="Action<br/>操作">
                                    <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
                                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                    <ItemTemplate>
                                        <img src="../Images/COMEDIT.GIF" alt="" onclick="window.open('../UserControls/EV/ActionPoint.aspx?APID=<%# DataBinder.Eval(Container.DataItem,"APID")%>&MeetingID=<%# DataBinder.Eval(Container.DataItem, "MeetingID")%>&Status=Readonly','','width=1106px,height=760px,scrollbars=yes,resizable=yes')"
                                            onmouseover="this.style.cursor='hand'" title="Open (打开)" />
                                    </ItemTemplate>
                                </asp:TemplateColumn>
                            </Columns>
                        </asp:DataGrid>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <table id="Table3" cellspacing="0" cellpadding="0" class="pagecounting">
                        <tbody>
                            <tr>
                                <td>
                                    Total Records:
                                    <asp:Label ID="lblRecordCount" runat="server">lblRecordCount</asp:Label></strong>&nbsp;&nbsp;&nbsp;
                                    <img src="../images/PageIcon.GIF" alt="" />&nbsp;Page:
                                    <asp:Label ID="lblCurrentPageIndex" runat="server">lblCurrentPageIndex</asp:Label>&nbsp;/&nbsp;
                                    <asp:Label ID="lblPageCount" runat="server">lblPageCount</asp:Label>
                                </td>
                                <td align="right">
                                    <asp:ImageButton ID="btnPageFirst" runat="server" ImageUrl="../images/pg_first.gif"
                                        ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp;
                                    <asp:ImageButton ID="btnPagePrev" runat="server" ImageUrl="../images/pg_pre.gif"
                                        ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp;
                                    <asp:ImageButton ID="btnPageNext" runat="server" ImageUrl="../images/pg_next.gif"
                                        ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp;
                                    <asp:ImageButton ID="btnPageLast" runat="server" ImageUrl="../images/pg_last.gif"
                                        ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp; Go To Page:
                                    <asp:TextBox ID="txtPage" runat="server" CssClass="txtbox pager-text" MaxLength="5">
                                    </asp:TextBox>
                                    <asp:ImageButton ID="btnGotoPage" runat="server" ImageUrl="../images/PageIcon.GIF">
                                    </asp:ImageButton>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr class="formbox2">
                <td>
                    <table id="Table10" cellspacing="0" cellpadding="0">
                        <tr>
                            <td class="padding_lft5">
                                <asp:ResourceButton ID="btnExportPercentage" runat="server" Text="Export" ToolTip="ExportTips"
                                    CssClass="btn" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:DataGrid ID="dgAPRate" PagerStyle-Visible="False" AllowSorting="True" AllowPaging="False"
                        PageSize="10" runat="server" CellPadding="0" GridLines="both" AutoGenerateColumns="False"
                        ShowHeader="True" CssClass="tablestyle" Width="98%">
                        <ItemStyle CssClass="tbody"></ItemStyle>
                        <HeaderStyle CssClass="thead"></HeaderStyle>
                        <Columns>
                            <asp:BoundColumn DataField="APMonth" ReadOnly="True" HeaderText="Month <br />月份">
                                <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="CurrentMonthAPs" ReadOnly="True" HeaderText="APs of the month <br />当月AP数量">
                                <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="CurrentMonthBeforeClosedAPs" ReadOnly="True" HeaderText="Closed APs before due date <br />AP准时关闭数量">
                                <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="BeforeClosedRate" ReadOnly="True" HeaderText="Percentage <br />百分比"
                                DataFormatString="{0:p}">
                                <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="CurrentMonthClosedAPs" ReadOnly="True" HeaderText="Total Closed APs in this month <br />当月关闭AP总数量">
                                <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="ClosedRate" ReadOnly="True" HeaderText="Total closed rate<br /> 总关闭率"
                                DataFormatString="{0:p}">
                                <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                            </asp:BoundColumn>
                        </Columns>
                    </asp:DataGrid>
                    <br />
                </td>
            </tr>
        </table>
    </div>
    </form>
    <%--页面刷新时显示--%>
    <%-- <div id="dialog-message" title="Loading..." style="display: none">
        <p>
            <br />
            <span class="entity-loading"></span><span>Operation in process, please wait...<br />
                <br />
                处理中, 请稍候。。。</span>
        </p>
    </div>--%>
</body>
</html>
